
{[include file="mold/mold/_view.tpl"]}

<fieldset>
<legend>生产信息</legend>
  <table>		
	<tr>
		<td width="20%" align="right">工件：</td>
		<td width="30%">{[$result.piece]}</td>
		<td width="20%" align="right">负责人：</td>
		<td width="30%">{[$plan.emp_t]}</td>
	</tr>
	<tr>
		<td align="right">工艺：</td>
		<td>{[$result.technics]}</td>
		<td align="right">状态：</td>
		<td>{[$result.status_t]}</td>
	</tr>
	{[foreach name=outer key=key item=item from=$file]}
	{[assign var="no" value="`$key+$pager->from+1`"]}
	{[if $smarty.foreach.outer.first]}
	<tr>
		<td align="right">附件：</td>
		<td colspan="3">{[/if]}
		{[$no]}、<a href="{[$item.file]}" style="color:blue" target="_blank">{[$item.name]}</a><br/>
		{[if $smarty.foreach.outer.last]}
		</td>
	</tr>
	{[/if]}
	{[/foreach]}
	<tr>
		<td align="right">工作内容：</td>
		<td  colspan="3">{[$result.content|nl2br]}</td>
	</tr>
	<tr>
		<td align="right">实际日期：</td>
		<td colspan="3">{[$result.t1]} 至 {[$result.t2]}</td>
	</tr>
	<tr>
		<td align="right">实际工时：</td>
		<td colspan="3">{[$result.hour]}小时{[$result.minute]}分钟</td>
	</tr>
	<tr>
	  <td align="right">创建时间：</td>
	  <td colspan="3">{[$result.createtime]}</td>
	</tr>		
	<tr>
	  <td align="right">更新时间：</td>
	  <td colspan="3">{[$result.modifytime]}</td>
	</tr>
  </table>
  </fieldset>